
The file 'psrm_ideal_point_rep.r' contains r code for replicating the results of "Estimating the Locations
of Voters, Politicians, Policy Outcomes, and Status Quos on a Common Scale", by James Battista, Michael Peress,
and Jesse Richman, forthcoming in PSRM. Before running the code, be sure to include all the files from the
replication archive in a directory and to set the "dir1" variable to that directory. The archive includes the
data files "orig.xlsx", "cs.xlsx", "mc.xlsx", "Y.dat", and "LegDat.dat". The code will generate the files
"tables.tex" containing the tables from the paper as well as "fig1.pdf", "fig2.pdf", "fig3.pdf", "fig4.pdf",
"fig5.pdf", and "fig6.pdf", containing the figures from the paper. Percomputed versions of these files are
include in the archive--when the r code is executed, these files will be overwritten.
